package org.jsola.hr.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.jsola.core.dto.BaseDTO;

import javax.validation.constraints.NotNull;

@Data
public class HrFunctionModularQueryDTO extends BaseDTO {

    @ApiModelProperty(notes = "应用编码 zxr_xcx 职薪人小程序；csxr_xcx 橙事新人小程序;xcxAdmin 职薪人管理端", example = "xcxAdmin", required = true)
    @NotNull(message = "应用编码不能为空")
    @Length(max = 32, message = "长度不能超过32")
    private String code;

//    @ApiModelProperty(notes = "业务ID", required = true)
//    @Length(max = 32, message = "长度不能超过32")
//    private String subjectId;
//
//    @ApiModelProperty(notes = "业务类型", required = true)
//    @Length(max = 32, message = "长度不能超过32")
//    private String subjectType;
//
    @ApiModelProperty(notes = "公司Id", required = true)
    private String companyId;

}
